<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Javascript事件处理演示</title>
</head>
<body>
<button id="btn_test" onclick="click_me();">点我<tton>

    <form action="" onsubmit="register_check();">
        <fieldset>
            <legend>新用户注册</legend>
            <label>用户名</label><input type="text" name="u_name" id="u_name">
            <strong>用户名大于6位</strong><br>
                <label>密码</label><input type="password" name="u_pwd" id="u_pwd">
            <strong>密码长度大于6位</strong><br>
                    <label>密码确认</label><input type="password" name="u_pwd2" id="u_pwd2">
            <strong>两次密码需一致</strong><br>
                        <input type="submit" value="用户注册">
                        <input type="buttonreset" value="重置" onclick="clear_info();">
        </fieldset>
    </form>
    <script src="js_two.js"></script>
</tton>
</button>
</body>